package com.strato.saas.user.v1_0_0.dao.mapper;

import com.strato.orm.mybatis.v1_0_0.annotation.MybatisMapper;
import com.strato.saas.user.v1_0_0.model.UserInfo;
import com.strato.saas.user.v1_0_0.model.UserInfoExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

@MybatisMapper
public interface UserInfoMapper {
    int countByExample(UserInfoExample example);

    int deleteByExample(UserInfoExample example);

    int deleteByPrimaryKey(String userId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    List<UserInfo> selectByExample(UserInfoExample example);

    UserInfo selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") UserInfo record, @Param("example") UserInfoExample example);

    int updateByExample(@Param("record") UserInfo record, @Param("example") UserInfoExample example);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);
}